package com.code.day15DuoXianC.Thread03;

public class MyTerad extends  Thread {
    @Override
    public  void run(){
        for (int i = 0; i < 10; i++) {

            System.out.println(MyTerad.currentThread().getName()+ i);
            Thread.yield();
        }
    }
}
